.PHONY:all
all:tcpserverd tcpclient

tcpserverd:main.cc
	g++ -o $@ $^ -std=c++11 -lpthread

tcpclient:tcpclient.cc
	g++ -o $@ $^ -lpthread -std=c++11

.PHONY:clean
clean:
	rm -f tcpserverd tcpclient